<template>
	<view>
		<u-select v-model="show" :list="siteList" safe-area-inset-bottom @confirm="confirmSite" :confirm-color="'#FF721B'"></u-select>
	</view>
</template>

<script>
	export default {
		props:{
			defaultValue:Array, 
		},
		data() {
			return {
				selectArr:[],
				show:false,
				siteList:[]
			};
		},
		mounted() {
		},
		watch:{
			show(newStatus){
				 
			}
		},
		methods:{
			open(list){
				this.show = true
				this.$nextTick(() => { 
					setTimeout(() => {
						this.siteList = this.defaultValue
					},3000)
				}) 
			},
			confirmSite(e){
				this.$emit('confirmSite' , e)
			}
		}
	}
</script>

<style lang="scss">

</style>
